package com.example.stock.service;

import com.example.stock.entity.eo.UnitEo;
import com.example.stock.vo.UnitCreateForm;

public interface IUnitService {

    UnitEo calcDown(UnitEo byId1);

    UnitEo calcUp(UnitEo byId1);

    UnitEo.DownVo getDownVo(UnitEo unit);

    UnitEo.UpVo getUpVo(UnitEo unit);

    void remove(Integer trGroup, Double trEarn);

    void create(UnitCreateForm createForm);
}
